package com.ultimatech.eurekaclient.dao;


import com.ultimatech.eurekaclient.model.User;

import java.util.List;

/**
 * Created by zhangleping on 2017/10/31.
 */
public interface IUserDao {

    User getById(int id);

    User getByNumber(String number);

    int addUser(User user);

    void deleteUserById(int id);

    User updateUser(User user);

    List<User> findAll();


}
